module.exports.clone = async function (repo, desc) {
  const ora = require('ora');
  const process = ora(`下载项⽬ ${repo}`);
  process.start();
  const { promisify } = require('util');
  const download = promisify(require('download-git-repo'));
  try {
    await download(repo, desc)
  } catch (error) {
    process.fail()
  }
  process.succeed()
}